import React, {Component} from 'react';
// import ReactDOM from 'react-dom'; import bb from './bb.js' const Title =
// bb.Title

import {Title, Atest1, Atest2, ListComponent} from './bb.js'

/**
 * import FormComponent from './formCompent/formComponent'
 * 自定义的组件都必须要用大写字母开头，普通的HTML 标签都用小写字母开头。
 */

class Atest extends Component {
  render() {
    return (
      <div>
        <Atest1></Atest1>
        <Title></Title>
        <Atest2 show1='这是show1' show2='这是show2'></Atest2>
        <ListComponent></ListComponent>
      </div>
    )
  }
};

/* 在做组件的页面是不需要页面渲染的方法 ReactDOM.render() */
//  ReactDOM.render(<Atest></Atest>,document.getElementById('root'))

export default Atest;